//
//  CCProgress.h
//  didiAnimation
//
//  Created by iOS app dev on 17/2/21.
//  Copyright © 2017年 007qilv. All rights reserved.
//

#import <QuartzCore/QuartzCore.h>
#import "CCProgressThumb.h"
#import <UIKit/UIKit.h>
@interface CCProgress : CAShapeLayer
{
    NSTimeInterval _animationTime;
}



@property (assign, nonatomic) double initialProgress;
@property (nonatomic) NSTimeInterval elapsedTime;                                     //已使用时间
@property (assign, nonatomic) double percent;
@property (nonatomic, strong) UIColor *circleColor;
@property (nonatomic, strong) CAShapeLayer *progress;
@property (nonatomic, strong) CCProgressThumb *thumb;
@property (nonatomic, assign) CGRect frame;


- (void)setAnimtionTime:(NSTimeInterval)animtionTime;
- (void)startAnimation;

- (void)stopAnimation;

@end
